<? if(INAJAX == 0){ ?><!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>企业工厂 -- 为你的工作贡献力量</title>
</head>
<style>
@import url(/image/style-0.css);
@import url(/image/style-1.css);
@import url(/image/style-2.css);
@import url(/image/theme/<?=$user['theme']?>.css);
</style>
<script src="<?=$style?>/image/jquery.js"></script>
<script src="<?=$style?>/image/common-0.js"></script>
<script src="<?=$style?>/image/common-1.js"></script>
<script src="<?=$style?>/image/mailer.js"></script>
<script src="<?=$style?>/image/jqueryprogressbar.js"></script>
<body>
<!--	一级命名部分	-->
<div id="mbody">
<div id="mnav">
    <ul>
        <li><a href="/setting"><img src="<?=get_avatar($user['user_id'])?><? if($update_avatar){ echo '?'.rand(0,1000); }?>" /></a></li>
        <li><a href="/home">首页</a><li>
        <li><a href="/work">工作</a><li>
        <li><a href="/knowledge">知识</a><li>
        <li><a href="/mailer">邮件</a><li>
    </ul>
</div>
<div class="mcontent">
	<div class="top-search">
    	<div class="search"><form action="/tag/search" method="get">
        	<input type="text" name="tag" />&nbsp;&nbsp;<a href="javascript:void(0);" onClick="$(this).parent().submit();">搜索</a>&nbsp;&nbsp;<a>|</a>&nbsp;&nbsp;<a href="/notice">通知 <span><?=intval($user['unread_notice'])?></span></a>&nbsp;&nbsp;<a>|</a>&nbsp;&nbsp;<a href="/admin">管理</a>&nbsp;&nbsp;<a>|</a>&nbsp;&nbsp;<a href="/notepad/notelist">记事</a></form>
        </div>
        <div class="clear"></div>
    </div>
    <? }?>